<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Uber.Core.IPageable<Uber.Core.Model.FillPayRequest>>" %>
<%@ Import Namespace="Uber.WebUI" %>
<%@ Import Namespace="Uber.WebUI.Controllers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>
    <table>
    <%foreach (var item in Model.Page)
{
  %>
  <tr>
  <td><%=item.Name %></td>
  <td><%=item.Gold %></td>
  <td><%=item.Amount %></td>
  <td><%=item.Email %></td>
  <td><%=item.Timp %></td>
  <td><%=item.TransactionId %></td>
  <td><%=item.Filled %></td>
  <td><%if (!item.Filled) Response.Write(Html.ActionLink<FillPayRequestController>(v => v.Details(item.Id), "Fill"));%></td>
  
  </tr>
  <%
} %>
</table>
<%=Html.Pagination() %>
        
</asp:Content>
